/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.groupb.circus.Databases;

import com.groupb.circus.interfaces.DBAction;

/**
 *
 * @author a
 */
public class DBActionIm implements DBAction{
    
    String ActionId;
    Object[] params;
    
    
    /**
     * Constructor Method
     * @param anActionId
     * @param aParameters 
     */
    public DBActionIm(String anActionId, Object[] aParameters) {
        this.setActionId(anActionId);
        this.setParameters(aParameters);
    }

    /**
     * 
     * @return params
     */
    @Override
    public Object[] getParameters() {
        return params;
    }

    /** 
     * 
     * @param set aParameters 
     */
    @Override
    public void setParameters(Object[] aParameters) {
        params = aParameters;
    }
    /** 
     * 
     * @return ActionId
     */
    @Override
    public String getActionId() {
        return ActionId;
    }
    
    /** 
     * 
     * @param set anActionId 
     */
    @Override
    public void setActionId(String anActionId) {
        this.ActionId = anActionId;
    }
}
